<template>
	<view class="webView">
		<iframe :src="src" width="100%" height="100%"  frameborder="0"></iframe>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src:''
			};
		},
		onLoad:function(option){
			this.src = option.herf
		}
	}
</script>

<style lang="scss">
.webView{
	width: 100%;
	height: 100vh;
}
</style>
